//
//  STOrderFooter1View.h
//  YiYueStore
//
//  Created by zhouzhouzhou on 2018/9/28.
//  Copyright © 2018年 YuYiLian. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef NS_ENUM(NSInteger, STOrderFooter1ViewActionType) {
    telBtnAction,
    msgBtnAction,
    agreeBtnAction,
    refuseBtnAction,
    cancelOrder,
    inviteEvaluate,
    seeEvaluate
};

@class STOrderFooter1View;
@protocol STOrderFooter1ViewDelegate <NSObject>
-(void)orderFooter1ViewWithActionType:(STOrderFooter1ViewActionType)actionType orderType:(int)orderType;

@end



@interface STOrderFooter1View : UIView{
    int orderType;
}

@property (weak, nonatomic) IBOutlet UIButton *telBtn;
@property (weak, nonatomic) IBOutlet UIButton *msgBtn;
@property (weak, nonatomic) IBOutlet UIButton *agreeBtn;
@property (weak, nonatomic) IBOutlet UIButton *refuseBtn;
@property (weak, nonatomic) IBOutlet UIView *priceView;
@property (weak, nonatomic) IBOutlet UILabel *priceLab;
@property (weak, nonatomic) IBOutlet UIView *communicateView;

@property (weak, nonatomic) id <STOrderFooter1ViewDelegate> footerDelegate;
-(void)setOrderFooterViewWithType:(int)type data:(id)extraData;

@end
